Skip to content

Release/1.0.0 - #16

Merged
nikan-negaresh-informed merged 13 commits into
mainfrom
release/1.0.0
Oct 1, 2025
Merged

Release/1.0.0#16
nikan-negaresh-informed merged 13 commits into
mainfrom
release/1.0.0

Conversation

@nikan-negaresh-informed

Copy link
Copy Markdown
Contributor

initial release of management node to main branch

nikan-negaresh-informed and others added 13 commits August 3, 2025 22:53
* Initial commit

* feat(OSPO): synchronise OSPO workflows

* Initial commit
* fix(NON-REQ): update REAMDE.md installation steps based on testing

* fix(NON-REQ): minor text update

* fix(NON-REQ): minor formatting update

* fix(NON-REQ): fix env template name

* fix(NON-REQ): ignore env files

* fix(NON-REQ): add note about certificate country names
…odules (#4)

* Add Keycloak OpenTofu configuration and supporting modules

- Introduced OpenTofu configuration for managing Keycloak resources including realm, clients, client scopes, and roles.
- Added reusable `federator_client` module for creating clients with optional roles and mappings.
- Defined helper `Makefile` and documentation for managing workflows (init, plan, apply, validate, etc.).
- Configured Keycloak S3 backend and core variables for flexible workspace management.
- Enhanced JWT `aud` claim parsing in `JwtToken` model.
- Updated `.gitignore` to include Terraform state and configuration files.

* feat(DPAV-1421): minor formatting updates

* feat(DPAV-1421): add terraform directory to gitignore

* feat(DPAV-1421): remove Apache 2.0 license file

---------

Co-authored-by: cruddasj <james.cruddas@informed.com>
* - Add development environment configuration with new `application-dev.yml` file
- Update `Dockerfile` to include non-root user and improve permission handling
- Introduce `Dockerfile-dev` for development-specific container build
- Add build and publish shell scripts for Docker workflows
- Enhance `JwtToken` to support single-value arrays with `@JsonFormat` annotation
- Update SSL properties in `SslPropertyInitializer` to align with new configuration structure
- Modify server port and add SSL settings in `application.yml`

* Remove `application-dev.yml` configuration file

* Adding PR  template

* feat(OSPO): synchronise OSPO workflows

* Add issue templates for bug reports and feature requests

* Refine PR template: cleanup formatting and improve readability
* Add dynamic audience resolution for Federator scopes, update formatting, and rename backend file

* Add dynamic audience resolution for Federator scopes, update formatting, and rename backend file

* Preparing the repository for public release

* Preparing the repository for public release

* Update licensing to Open Government Licence v3.0 for public release

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files

* Update copyright formatting and align SPDX-License-Identifier across all files
* - Add detailed OpenAPI annotations to `ConfigurationController` for producer and consumer endpoints.
- Enable Swagger UI and OpenAPI generation through Springdoc configuration.
- Modify `application.yml` to include placeholders for sensitive configuration and notes for local development.
- Permit access to Swagger documentation endpoints in `SecurityConfig`.
- Add `application-local.yml` for local environment configuration.
- Update `GlobalExceptionHandler` to include exception message in error response.
- Document authentication requirements and OpenAPI usage in a new `AUTHENTICATION_REQUIREMENTS.md`.
- Extend `README.md` to include Swagger/OpenAPI documentation details.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* DPAV-1717
Summary
Refactor data model and persistency layer to support attributes for Product-Consumer relationships.
- Replace `ConsumerProviderRepository` with `ProductConsumerRepository` for consistency.
- Introduce `ProductConsumerAttribute` entity, repository, and mappings.
- Add `AttributesDTO` and update relevant converters (`ConsumerConverter`, `ProductConsumerConverter`).
- Modify DTOs to include attributes for enhanced configurability.
- Update `application.yml` to reflect required client ID changes.
- Add database migration script to seed sample attributes.
- General refactoring and cleanup for alignment with new attributes.
* Add Maven workflow for automated builds, testing, and linting

* Add Maven wrapper configuration with Apache Maven 3.9.9

* Add step to upload JaCoCo HTML report in Maven workflow
* - Add detailed OpenAPI annotations to `ConfigurationController` for producer and consumer endpoints.
- Enable Swagger UI and OpenAPI generation through Springdoc configuration.
- Modify `application.yml` to include placeholders for sensitive configuration and notes for local development.
- Permit access to Swagger documentation endpoints in `SecurityConfig`.
- Add `application-local.yml` for local environment configuration.
- Update `GlobalExceptionHandler` to include exception message in error response.
- Document authentication requirements and OpenAPI usage in a new `AUTHENTICATION_REQUIREMENTS.md`.
- Extend `README.md` to include Swagger/OpenAPI documentation details.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* DPAV-1726
Summary
Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation.

* Update `pom.xml` to clean and reformat XML structure for improved readability. No functional changes made.

* Update PR template to improve formatting and readability. No functional changes made.

* Add step to upload JaCoCo HTML report in Maven workflow
* **Refactor ConfigurationProviderImpl to simplify producer retrieval**

- Replaced retrieval logic for producers by removing intermediate data provider fetching and directly using `getProducersByConsumerIds`.
- Updated related tests and mock configurations to reflect this change.
- Simplified ProducerService, renaming and adapting methods to support new producer lookup logic via consumer IDs.

* **Enhance ConfigurationProviderImpl to filter producer products by valid IDs**

- Added logic to filter each producer's products based on provided validProductIds; clears products if no valid IDs exist.
- Updated affected tests to validate the new filtering logic with changes to `consumerAllowedDataProvidersService` interactions.
#12)

* **Refactor ConfigurationProviderImpl to simplify producer retrieval**

- Replaced retrieval logic for producers by removing intermediate data provider fetching and directly using `getProducersByConsumerIds`.
- Updated related tests and mock configurations to reflect this change.
- Simplified ProducerService, renaming and adapting methods to support new producer lookup logic via consumer IDs.

* **Enhance ConfigurationProviderImpl to filter producer products by valid IDs**

- Added logic to filter each producer's products based on provided validProductIds; clears products if no valid IDs exist.
- Updated affected tests to validate the new filtering logic with changes to `consumerAllowedDataProvidersService` interactions.

* Update authorization roles and enhance security configurations

- Replaced `hasRole` with `hasAuthority` in `@PreAuthorize` annotations for consistency with Spring Security standards.
- Added `@JsonProperty` for `resource_access` in `JwtToken` to ensure correct JSON mapping.
- Enabled method-level security with `@EnableMethodSecurity` in `SecurityConfig`.
- Updated `GlobalExceptionHandler` to handle `AccessDeniedException` and `AuthorizationDeniedException`.
* Update links and references in documentation for accuracy

* Add separator line in README for improved readability
@github-actions github-actions Bot added documentation Improvements or additions to documentation actions release labels Oct 1, 2025
@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2025

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots
E Security Rating on New Code (required ≥ A)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@nikan-negaresh-informed
nikan-negaresh-informed merged commit e21ab73 into main Oct 1, 2025
7 of 9 checks passed
@nikan-negaresh-informed
nikan-negaresh-informed deleted the release/1.0.0 branch October 1, 2025 22:55
@nikan-negaresh-informed
nikan-negaresh-informed restored the release/1.0.0 branch October 1, 2025 22:56
@nikan-negaresh-informed
nikan-negaresh-informed deleted the release/1.0.0 branch October 1, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions documentation Improvements or additions to documentation release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants